package com.qfjy.entity.po;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class User implements Serializable {
    private Integer id;
    @Excel(name = "姓名", orderNum = "1")
    private String name;
    @Excel(name = "邮箱", orderNum = "2")
    private String email;
    @Excel(name = "联系方式", orderNum = "3")
    private String telephone;
    @Excel(name = "省份", orderNum = "4")
    private String province;
    @Excel(name = "城市", orderNum = "5")
    private String city;
    @Excel(name = "区域", orderNum = "6")
    private String zone;
    // 权限
    // 值得替换 导出是{a_id,b_id} 导入反过来
    @Excel(name = "权限", orderNum = "7", replace = {"发单_1", "抢单_2"})
    private Integer rid;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate=new Date();

    private Short status=1;

    private Integer wid;
    private MeetingGrab meetingGrab;
}
